package com.rednote.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rednote.entity.UserLikes;

/**
 * 用户点赞记录表(UserLikes)服务接口
 *
 * @author yao suxuan
 * @since 2025-05-24 18:10:29
 */
public interface UserLikesService extends IService<UserLikes> {
    Boolean getIsLike(Integer targetId,int targetType);

    int like(Integer targetId,int targetType);
    int unlike(Integer targetId, int targetType);

    Integer getLikeCount(Integer postId, int i);
}
